Clipping
Some video digitizer components can clip the output video image based on an arbitrary clipping region. Your application can determine whether a video digitizer component supports clipping by examining the digitizer information structure of the component. Specifically, if thedigiOutDoesMask
flag is set to 1 in theoutputCapabilityFlags
field of the appropriate digitizer information structure, the component supports clipping. See "The Digitizer Information Structure" beginning on page 8-20 for details. Your application can obtain a component's digitizer information structure by calling theVDGetDigitizerInfo
function, which is described on page 8-24. This section describes the functions provided to applications by components that support clipping.Applications can use the
VDSetClipState
andVDGetClipState
functions to enable and disable clipping, and to determine whether clipping is enabled. Applications can use theVDSetClipRgn
andVDClearClipRgn
functions to manipulate the clipping region. Applications can use these functions only during an active grab sequence. Applications set the initial clipping settings by calling eitherVDSetPlayThruDestination
orVDSetPlayThruGlobalRect
(described on page 8-35 and page 8-39, respectively).
- Note
- The functions that manipulate clipping and clipping state operate on a clipping region in addition to the one specified by the mask passed by the
VDSetPlayThruDestination
andVDSetUpBuffers
functions (described on page 8-35 and page 8-54, respectively). To determine the final clipping regions, intersect these two clippings.![]()
Subtopics
- VDSetClipRgn
- VDClearClipRgn
- VDSetClipState
- VDGetClipState
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help